<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Template Units For Numerical Applications</title>
<link href="TUNAstyles.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<style type="text/css">

.cabeza_cell {
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 11pt;
  background-color: #ffffff;
  font-weight: lighter;
  color: #000000;
  text-decoration: none;
}
</style>

</head><body>
<div>
<table align="center" width="640" border="0" cellspacing="2" cellpadding="5" class="border">
<tr>
 <td class="cabeza_cell"> 

  <font style="font-family: helvetica; color: #000000;" size=4>
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>TUNA</font> :
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>T</font>emplate
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>U</font>nits for
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>N</font>umerical 
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>A</font>pplications
 </font><br>
  
</td>
</tr>

<tr>
<td class="cabeza_cell">
 <span style="font-family: helvetica; color: #336699;">
 Documentation Ver 1.0.0 August 2011 by
 <a href="http://mmc.geofisica.unam.mx/luiggi">Luis M. de la Cruz</a> <br>
 <a href="http://mmc.geofisica.unam.mx"> GMMC </a> -
 <a href="http://www.geofisica.unam.mx/recnat/"> Depto. de Recursos Naturales </a> -
 <a href="http://www.geofisica.unam.mx"> Instituto de Geof&iacute;sica </a> -
 <a href="http://www.unam.mx"> UNAM </a><br>
 </span>
 </td>

</tr>

</table>
</div>
<br>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>Tuna</b>      </li>
      <li class="navelem"><a class="el" href="classTuna_1_1GeneralEquation.html">GeneralEquation</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Tuna::GeneralEquation&lt; Teq &gt; Class Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Tuna::GeneralEquation" -->
<p>General class for equations.  
 <a href="classTuna_1_1GeneralEquation.html#details">More...</a></p>

<p><a href="classTuna_1_1GeneralEquation-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef Typeinfo&lt; Teq &gt;::<a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Precision used for the numerical operations.  <a href="#a39e7293ae9e10a2fc90f422da1d28ecd"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a674b04baf966a2a4f3b772f166e11642"></a><!-- doxytag: member="Tuna::GeneralEquation::GeneralEquation" ref="a674b04baf966a2a4f3b772f166e11642" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a674b04baf966a2a4f3b772f166e11642">GeneralEquation</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a45df58f46b2fd27ade2da0c69bf273fd">GeneralEquation</a> (ScalarField &amp;, DiagMat &amp;, ScalarField &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">In this constructor <code>phi</code> is a copy of a global field variable.  <a href="#a45df58f46b2fd27ade2da0c69bf273fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a71eebad555f8c90bcd26fc011afdc8a7">GeneralEquation</a> (ScalarField &amp;, DiagMat &amp;, ScalarField &amp;, const floatTinyArray_t &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">In this constructor <code>phi</code> is a copy of a global field variable.  <a href="#a71eebad555f8c90bcd26fc011afdc8a7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Teq &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#aac63dc10324dcfdd7aaabdc63ec0c67f">asDerived</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The Curiously Recursive Template Pattern (CRTP) is used.  <a href="#aac63dc10324dcfdd7aaabdc63ec0c67f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#afab260da87049ae64d98f3b9b959887b">setLinearSystem</a> (DiagMat &amp;, ScalarField &amp;)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup the Linear System.  <a href="#afab260da87049ae64d98f3b9b959887b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a25136e525b1fe03af821d085080d4992">setDirichlet</a> (BC_t wall, <a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a> w_v=0.0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup Dirichlet boundary conditions on walls.  <a href="#a25136e525b1fe03af821d085080d4992"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#af5cdc5a89b6c1c314bd203055ff456de">setNeumann</a> (BC_t wall, <a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a> w_v=0.0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Setup Neumann boundary conditions on walls.  <a href="#af5cdc5a89b6c1c314bd203055ff456de"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0dd56c6ade4cfc084c34ff5fd772c8f"></a><!-- doxytag: member="Tuna::GeneralEquation::applyBoundaryConditions1D" ref="ae0dd56c6ade4cfc084c34ff5fd772c8f" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#ae0dd56c6ade4cfc084c34ff5fd772c8f">applyBoundaryConditions1D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Application of Dirichlet and Neumann boundary conditions in 1D. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2b4682ab94f7bfe3d0a4956962a577e"></a><!-- doxytag: member="Tuna::GeneralEquation::applyBoundaryConditions2D" ref="ae2b4682ab94f7bfe3d0a4956962a577e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#ae2b4682ab94f7bfe3d0a4956962a577e">applyBoundaryConditions2D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Application of Dirichlet and Neumann boundary conditions in 2D. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3645e8125190644008ed8848f4ba3caf"></a><!-- doxytag: member="Tuna::GeneralEquation::applyBoundaryConditions3D" ref="a3645e8125190644008ed8848f4ba3caf" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a3645e8125190644008ed8848f4ba3caf">applyBoundaryConditions3D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Application of Dirichlet and Neumann boundary conditions in 3D. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a7809997f260ee040de62a07629fa574e">applyDirichlet1D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Dirichlet boundary condition in 1D.  <a href="#a7809997f260ee040de62a07629fa574e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#ae9e0bf89858afdba0282be1cbc12b072">applyDirichlet2D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Dirichlet boundary condition in 2D.  <a href="#ae9e0bf89858afdba0282be1cbc12b072"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#ac362ca4fe4517c17e47b1c3077fdc146">applyDirichlet3D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Dirichlet boundary condition in 3D.  <a href="#ac362ca4fe4517c17e47b1c3077fdc146"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a9e817253cb759e787244a4b917ee2ee9">applyNeumann1D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Neumann boundary condition in 1D.  <a href="#a9e817253cb759e787244a4b917ee2ee9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#ae11b4f1d25e239aba5e7feee69ab20dc">applyNeumann2D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Neumann boundary condition in 2D.  <a href="#ae11b4f1d25e239aba5e7feee69ab20dc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1GeneralEquation.html#a9ad19dbf5779b235447ac056514b4eb9">applyNeumann3D</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Neumann boundary condition in 3D.  <a href="#a9ad19dbf5779b235447ac056514b4eb9"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Teq&gt;<br/>
class Tuna::GeneralEquation&lt; Teq &gt;</h3>

<p>This class is a model for the concept "General Equation" defined in the analysis and design of my doctoral thesis. It is the base class to derive all discretized governing equations, using Finite Volume Method.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Luis M. de la Cruz [ Sat May 2 18:11:12 CDT 2009 ] </dd></dl>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00046">46</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>
</div><hr/><h2>Member Typedef Documentation</h2>
<a class="anchor" id="a39e7293ae9e10a2fc90f422da1d28ecd"></a><!-- doxytag: member="Tuna::GeneralEquation::prec_t" ref="a39e7293ae9e10a2fc90f422da1d28ecd" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef Typeinfo&lt;Teq&gt;::<a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a> <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::<a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented in <a class="el" href="classTuna_1_1Momentum__XCoDi.html#a9c64180e74e18bae52da3a87dcd0ba1b">Tuna::Momentum_XCoDi&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1Momentum__YCoDi.html#a0520fc328ea72fa9983059257f390d0f">Tuna::Momentum_YCoDi&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1Momentum__ZCoDi.html#a625a2c2312164b56a41760486aaccb97">Tuna::Momentum_ZCoDi&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1PressureCorrection.html#a87ec986ffd769cebe68fd7523f30a302">Tuna::PressureCorrection&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1ScalarEquation.html#a3dfb3d6e0b1330e8acfbb7087ea083a8">Tuna::ScalarEquation&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLES3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLES4&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLES1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; WFIP1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLES2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP1P&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP8&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP5&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLES7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP6&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLES5&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES4&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLIP3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLIP4&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLIP1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLIP2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES1P&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; WFES1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES8&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLIP7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES5&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSES6&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; BLIP5&lt; Tprec, Dim &gt; &gt;</a>, and <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a5491383644d06c7b9fa6a96e4bac3a7d">Tuna::TwoPhaseEquation&lt; FSIP4&lt; Tprec, Dim &gt; &gt;</a>.</p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00050">50</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a45df58f46b2fd27ade2da0c69bf273fd"></a><!-- doxytag: member="Tuna::GeneralEquation::GeneralEquation" ref="a45df58f46b2fd27ade2da0c69bf273fd" args="(ScalarField &amp;, DiagMat &amp;, ScalarField &amp;)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::<a class="el" href="classTuna_1_1GeneralEquation.html">GeneralEquation</a> </td>
          <td>(</td>
          <td class="paramtype">ScalarField &amp;&#160;</td>
          <td class="paramname"><em>phi_global</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DiagMat &amp;&#160;</td>
          <td class="paramname"><em>matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ScalarField &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><code>phi</code> is used to storage the solution in each iteration of the solver. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00223">223</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a71eebad555f8c90bcd26fc011afdc8a7"></a><!-- doxytag: member="Tuna::GeneralEquation::GeneralEquation" ref="a71eebad555f8c90bcd26fc011afdc8a7" args="(ScalarField &amp;, DiagMat &amp;, ScalarField &amp;, const floatTinyArray_t &amp;)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::<a class="el" href="classTuna_1_1GeneralEquation.html">GeneralEquation</a> </td>
          <td>(</td>
          <td class="paramtype">ScalarField &amp;&#160;</td>
          <td class="paramname"><em>phi_global</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">DiagMat &amp;&#160;</td>
          <td class="paramname"><em>matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ScalarField &amp;&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const floatTinyArray_t &amp;&#160;</td>
          <td class="paramname"><em>deltas</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><code>phi</code> is used to storage the solution in each iteration of the solver. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00257">257</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aac63dc10324dcfdd7aaabdc63ec0c67f"></a><!-- doxytag: member="Tuna::GeneralEquation::asDerived" ref="aac63dc10324dcfdd7aaabdc63ec0c67f" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">Teq&amp; <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::asDerived </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p><a class="el" href="classTuna_1_1GeneralEquation.html#aac63dc10324dcfdd7aaabdc63ec0c67f" title="The Curiously Recursive Template Pattern (CRTP) is used.">asDerived()</a> gets an returns a reference to the derived class. </p>

<p>Reimplemented in <a class="el" href="classTuna_1_1Momentum__XCoDi.html#a9a90652dd51be81d5e3538e7be350cd1">Tuna::Momentum_XCoDi&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1Momentum__YCoDi.html#a6626e86a8f357bcca758764585774e50">Tuna::Momentum_YCoDi&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1Momentum__ZCoDi.html#a42e70d7536537b2381c57cd35c4251f8">Tuna::Momentum_ZCoDi&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1PressureCorrection.html#ae272c45f4ddcd2036b3d186f2f83875b">Tuna::PressureCorrection&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1ScalarEquation.html#a5ea21cc6e4ba35a7f5f01563a6211381">Tuna::ScalarEquation&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; Tscheme &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLES3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLES4&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLES1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; WFIP1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLES2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP1P&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP8&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP5&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLES7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP6&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLES5&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES4&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLIP3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLIP4&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLIP1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLIP2&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES1P&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; WFES1&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES8&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLIP7&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES5&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP3&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSES6&lt; Tprec, Dim &gt; &gt;</a>, <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; BLIP5&lt; Tprec, Dim &gt; &gt;</a>, and <a class="el" href="classTuna_1_1TwoPhaseEquation.html#a3cfd0c50bb14834bdce42753e4a09668">Tuna::TwoPhaseEquation&lt; FSIP4&lt; Tprec, Dim &gt; &gt;</a>.</p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00066">66</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="afab260da87049ae64d98f3b9b959887b"></a><!-- doxytag: member="Tuna::GeneralEquation::setLinearSystem" ref="afab260da87049ae64d98f3b9b959887b" args="(DiagMat &amp;, ScalarField &amp;)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::setLinearSystem </td>
          <td>(</td>
          <td class="paramtype">DiagMat &amp;&#160;</td>
          <td class="paramname"><em>matrix</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ScalarField &amp;&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The arrays <code>aE</code>, <code>aW</code>, <code>aN</code>, <code>aS</code>, <code>aF</code>, <code>aB</code>, <code>aP</code> and <code>sp</code> are references to global matrices and vectors used to storage the linear system. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00295">295</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a25136e525b1fe03af821d085080d4992"></a><!-- doxytag: member="Tuna::GeneralEquation::setDirichlet" ref="a25136e525b1fe03af821d085080d4992" args="(BC_t wall, prec_t w_v=0.0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::setDirichlet </td>
          <td>(</td>
          <td class="paramtype">BC_t&#160;</td>
          <td class="paramname"><em>wall</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a>&#160;</td>
          <td class="paramname"><em>w_v</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function just moves the beginnings (bi,bj,bk) and endings (ei,ej,ek) of the Scalarfield arrays, and store the name of the wall where the condition was applied in the <code>dirichlet</code> container (stl::map). </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00351">351</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="af5cdc5a89b6c1c314bd203055ff456de"></a><!-- doxytag: member="Tuna::GeneralEquation::setNeumann" ref="af5cdc5a89b6c1c314bd203055ff456de" args="(BC_t wall, prec_t w_v=0.0)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::setNeumann </td>
          <td>(</td>
          <td class="paramtype">BC_t&#160;</td>
          <td class="paramname"><em>wall</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classTuna_1_1GeneralEquation.html#a39e7293ae9e10a2fc90f422da1d28ecd">prec_t</a>&#160;</td>
          <td class="paramname"><em>w_v</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function just moves the beginnings (bi,bj,bk) and endings (ei,ej,ek) of the Scalarfield arrays, and store the name of the wall where the condition was applied in the <code>neumann</code> container (stl::map). </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00374">374</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7809997f260ee040de62a07629fa574e"></a><!-- doxytag: member="Tuna::GeneralEquation::applyDirichlet1D" ref="a7809997f260ee040de62a07629fa574e" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::applyDirichlet1D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function applies the Dirichlet boundary conditions iterating on the <code>dirichlet</code> container that was defined by the <a class="el" href="classTuna_1_1GeneralEquation.html#a25136e525b1fe03af821d085080d4992" title="Setup Dirichlet boundary conditions on walls.">setDirichlet()</a> function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00461">461</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae9e0bf89858afdba0282be1cbc12b072"></a><!-- doxytag: member="Tuna::GeneralEquation::applyDirichlet2D" ref="ae9e0bf89858afdba0282be1cbc12b072" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::applyDirichlet2D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function applies the Dirichlet boundary conditions iterating on the <code>dirichlet</code> container that was defined by the <a class="el" href="classTuna_1_1GeneralEquation.html#a25136e525b1fe03af821d085080d4992" title="Setup Dirichlet boundary conditions on walls.">setDirichlet()</a> function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00515">515</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac362ca4fe4517c17e47b1c3077fdc146"></a><!-- doxytag: member="Tuna::GeneralEquation::applyDirichlet3D" ref="ac362ca4fe4517c17e47b1c3077fdc146" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::applyDirichlet3D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function applies the Dirichlet boundary conditions iterating on the <code>dirichlet</code> container that was defined by the <a class="el" href="classTuna_1_1GeneralEquation.html#a25136e525b1fe03af821d085080d4992" title="Setup Dirichlet boundary conditions on walls.">setDirichlet()</a> function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00616">616</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9e817253cb759e787244a4b917ee2ee9"></a><!-- doxytag: member="Tuna::GeneralEquation::applyNeumann1D" ref="a9e817253cb759e787244a4b917ee2ee9" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::applyNeumann1D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function applies the Neumann boundary conditions iterating on the <code>neumann</code> container that was defined by the <a class="el" href="classTuna_1_1GeneralEquation.html#af5cdc5a89b6c1c314bd203055ff456de" title="Setup Neumann boundary conditions on walls.">setNeumann()</a> function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00752">752</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae11b4f1d25e239aba5e7feee69ab20dc"></a><!-- doxytag: member="Tuna::GeneralEquation::applyNeumann2D" ref="ae11b4f1d25e239aba5e7feee69ab20dc" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::applyNeumann2D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function applies the Neumann boundary conditions iterating on the <code>neumann</code> container that was defined by the <a class="el" href="classTuna_1_1GeneralEquation.html#af5cdc5a89b6c1c314bd203055ff456de" title="Setup Neumann boundary conditions on walls.">setNeumann()</a> function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00783">783</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9ad19dbf5779b235447ac056514b4eb9"></a><!-- doxytag: member="Tuna::GeneralEquation::applyNeumann3D" ref="a9ad19dbf5779b235447ac056514b4eb9" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Teq &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classTuna_1_1GeneralEquation.html">Tuna::GeneralEquation</a>&lt; Teq &gt;::applyNeumann3D </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function applies the Neumann boundary conditions iterating on the <code>neumann</code> container that was defined by the <a class="el" href="classTuna_1_1GeneralEquation.html#af5cdc5a89b6c1c314bd203055ff456de" title="Setup Neumann boundary conditions on walls.">setNeumann()</a> function. The coeficients aE, aW, aN, aS, aN, aF, aB, aP and sp (source), are modified according to these conditions. </p>

<p>Definition at line <a class="el" href="GeneralEquation_8hpp_source.html#l00825">825</a> of file <a class="el" href="GeneralEquation_8hpp_source.html">GeneralEquation.hpp</a>.</p>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr size="1">
<div align="center">
Last modification: Sun Aug 28 09:57:21 CDT 2011
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&copy; 2011 LMCS-UNAM
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Generated by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="top" border="0" height="25"></a> 1.6.1 </div>

